#include "scenes/GameSceneMain.h"

#include "objects/TestObject.h"

GameSceneMain::GameSceneMain( GameApplication& theApp, SceneGame& theScene )
   : GameScene::GameScene( theApp, theScene )
{

}

void GameSceneMain::Initialize()
{
	objects.push_back( new TestObject( ( * this ) ) );
}

void GameSceneMain::Terminate()
{
	for ( std::list< GameObject* >::iterator it = objects.begin(); it != objects.end(); ++it )
	{
		delete ( * it );
	}

	objects.clear();
}
